<% include header.ejs %>
<nav id="purchase">
    <div>
        <a href="/" >首页</a>
        <span ><%= title %></span>
    </div>
</nav>
<p style="height: 44px;"></p>
<div style="max-width: 1226px;margin: 0 auto">
	<table class="table table-bordered table-hover" style="text-align: center; margin-top: 20px">
        <tr class="success">
            <td>时间</td>
            <td>产品/品种</td>
            <td>所在地区</td>
            <td>联系人</td>
            <td>联系电话</td>
        </tr>
       <% posts.forEach(function (post,index) {%>
        <tr>
        <td><%= post.date %></td>
            <td><%= post.title %></td>
            <td><%= post.city %></td>
            <td><%= post.users.userName %></td>
            <td><%= post.phone %></td>
        </tr>
        <% }) %> 
        
    </table>
</div>

<% include footer.ejs %>